﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CadastroInicialEmpresa.aspx.cs"
    Inherits="VemTransporte.Views.UsuarioEmpresa.CadastroInicialEmpresa" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>..:: STI ::..</title>
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/menuEmpresa_files/css3menu1/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        input[type="text"]
        {
            border: 1px solid #CCC;
            margin-bottom: 0px;
        }
        
        input[type="text"]
        {
            border: 1px solid #CCC;
            margin-bottom: 0px;
        }
        
        .passwordEntry
        {
        }
        .style4
        {
            width: 134px;
            height: 30px;
        }
        .style5
        {
            height: 30px;
        }
        .failureNotification
        {
            font-size: 0.9em;
            color: Red;
        }
        
        .failureNotification
        {
            font-size: 0.9em;
            color: Red;
        }
    </style>
</head>
<body id="corpo2">
    
    <div id="topo">
        <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Views/UsuarioEmpresa/MenuEmpresa.aspx">
        <div id="logoTopo"></div>
        </asp:HyperLink>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Views/UsuarioEmpresa/LoginEmpresa.aspx">
        <div id="sair"></div>
        </asp:HyperLink>
    </div>
    <br />

    <form id="form1" runat="server">
    <div>
        <span class="failureNotification">
            <asp:Literal ID="ErrorMessage" runat="server"></asp:Literal>
            <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
                ValidationGroup="RegisterUserValidationGroup" Height="47px" />
        </span>
    </div>

    <table>
        <tr>
            <td>
                <table>
                <tr>
                    <td>
                        <asp:Image ID="ImageEmpresaLogoTipo" runat="server" Height="138px" Width="137px" 
                            ImageUrl="~/Content/Imagens/default_logo.jpg" />
                        <br />
                        <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Views/UsuarioEmpresa/MenuEmpresaLogoTipo.aspx">Alterar Logotipo</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="Bem vindo," Font-Bold="True" ForeColor="#000099"></asp:Label>
                        <br />
                        <asp:Label ID="LabelNomeEmpresa" runat="server" Text="Label" Font-Bold="True" ForeColor="#000099"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <ul id="css3menu1" runat="server" class="topmenu">
                            <li runat="server" class="topfirst" ID="liMenuEmpresaCadastro"><a href="MenuEmpresaCadastrar.aspx" title="Alterar Dados Empresa" style="width:206px;">Alterar Dados Empresa</a></li>
                            <li runat="server" ID="liMenuCadastroInicialEmpresa"><a href="#" title="Cadastro de Empresa" style="width:206px;
                                    background-color:#3a1300;border-color:#C0C0C0;border-style:solid;font:bold 14px Trebuchet MS;color:#ffffff;text-decoration:none; background-position:0 100px;">Cadastrar Empresa</a></li>
                            <li runat="server" ID="liMenuAlterarEndEmpresa"><a href="MenuEmpresaEndereco.aspx" title="Alterar Endereço" style="width:206px;">Alterar Endereço</a></li>
                            <li runat="server" ID="liMenuCadastrarTelefones"><a href="MenuEmpresaTelefones.aspx" title="Cadastrar Telefones" style="width:206px;">Cadastrar Telefones</a></li>
	                        <li runat="server" ID="liMenuAlterarSenhaEmpresa"><a href="MenuEmpresaAlterarSenha.aspx" title="Alterar Senha" style="width:206px;">Alterar Senha</a></li>
                            <li runat="server" ID="liMenuAlterarLinhaEmpresa"><a href="MenuEmpresaLinha.aspx" title="Cadastro de Linhas" style="width:206px;">Cadastro de Linhas</a></li>
	                        <li runat="server" ID="liMenuCadastroParadaEmpresa"><a href="MenuEmpresaParada.aspx" title="Cadastro de Paradas" style="width:206px;">Cadastro de Paradas</a></li>
	                        <li runat="server" ID="liMenuHoraLinhaEmpresa"><a href="MenuEmpresaHorario.aspx" title="Cadastro de Horarios das Linhas" style="width:206px;">Cadastro de Horarios das Linhas</a></li>
	                        <li runat="server" ID="liMenuEmpresaVeiculo"><a href="MenuEmpresaCadastroVeiculo.aspx" title="Cadastro de Veículos" style="width:206px;">Cadastro Veículos</a></li>
                        </ul>
                        <p>
                            &nbsp;</p>
                    </td>
                </tr>
                </table>
            </td>
            <td style="width: 10%"></td>
            <td style="width: 90%">
                <table style="width: 100%;">
                <tr>
                    <td class="style4">
                        <asp:Label ID="LabelFantasia" runat="server" AssociatedControlID="TextBoxNomeFantasia"
                            Font-Names="verdana" Font-Size="12px" ForeColor="#203360" Text="Nome Fantasia:"></asp:Label>
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="TextBoxNomeFantasia" runat="server" Width="386px" Height="30px"
                            BorderColor="#9aafca" Font-Size="14px" ValidationGroup="ValidationSummary1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxNomeFantasia"
                            ErrorMessage="Nome Fantasia é obrigatório!" ValidationGroup="RegisterUserValidationGroup"
                            CssClass="failureNotification" ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style4">
                                        <asp:Label ID="LabelRazao" runat="server" AssociatedControlID="TextBoxRazaoSocial"
                                            Font-Names="verdana" Font-Size="12px" ForeColor="#203360" Text="Razão Social"></asp:Label>
                                    :</td>
                    <td class="style5">
                                        <asp:TextBox ID="TextBoxRazaoSocial" runat="server" Width="386px" Height="30px" BorderColor="#9aafca"
                                            Font-Size="14px" ValidationGroup="ValidationSummary1"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxRazaoSocial"
                                            ErrorMessage="Razão Social é obrigatório!" ValidationGroup="RegisterUserValidationGroup"
                                            CssClass="failureNotification" ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style4">
                                        <asp:Label ID="LabelCNPJ" runat="server" AssociatedControlID="TextBoxCNPJ" Font-Names="verdana"
                                            Font-Size="12px" ForeColor="#203360" Text="CNPJ"></asp:Label>
                                    :</td>
                    <td class="style5">
                                        <asp:TextBox ID="TextBoxCNPJ" runat="server" Width="386px" Height="30px" BorderColor="#9aafca"
                                            Font-Size="14px" ValidationGroup="ValidationSummary1"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxCNPJ"
                                            ErrorMessage="CNPJ é obrigatório!" ValidationGroup="RegisterUserValidationGroup"
                                            CssClass="failureNotification" ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style4">
                        <asp:Label ID="LabelEMail" runat="server" AssociatedControlID="TextBoxEMail" Font-Names="verdana"
                            Font-Size="12px" ForeColor="#203360" Text="E-mail:"></asp:Label>
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="TextBoxEMail" runat="server" Width="386px" Height="30px" BorderColor="#9aafca"
                            Font-Size="14px" ValidationGroup="ValidationSummary1"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEMail"
                            ErrorMessage="E-Mail inválido!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                            ValidationGroup="RegisterUserValidationGroup" CssClass="failureNotification"
                            ForeColor="Red">*</asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style4">
                        <asp:Label ID="PasswordLabel0" runat="server" AssociatedControlID="TextBoxSenhaInicial"
                            Font-Names="verdana" Font-Size="12px" ForeColor="#203360">Senha inicial:</asp:Label>
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="TextBoxSenhaInicial" runat="server" BorderColor="#9AAFCA" Font-Size="14px"
                            Height="30px" Width="386px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired0" runat="server" ControlToValidate="TextBoxSenhaInicial"
                            CssClass="failureNotification" ErrorMessage="Senha inicial é obrigatório!" ToolTip="Senha inicial é obrigatório!"
                            ValidationGroup="EmpresaValidationGroup">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
            <p>
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Confirmar"
                    BackColor="#6ea954" BorderColor="#6ea954" ForeColor="White" Height="30px" Width="100px"
                    ValidationGroup="RegisterUserValidationGroup" />
            </p>
            </td>
        </tr>
        </table>
    </form>

    <hr style="color:#ccc" />
    <center style="color:#999; font-size:12px;">
        Vem Tranporte - Sistema de Trasnporte Inteligente - 2011
    </center>
    <br />

</body>
</html>
